//
//  ZYLoginView.h
//  YiLin
//
//  Created by Zyark on 2018/5/29.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ZYLoginView;
@protocol ZYLoginViewDelegate <NSObject>
-(void)loginView:(ZYLoginView *)loginView doLogin:(id)button;
-(void)loginView:(ZYLoginView *)loginView doForgetPassword:(id)button;
-(void)loginView:(ZYLoginView *)loginView doWeChatLogin:(id)button;
@end

@interface ZYLoginView : UIView

@property(nonatomic,weak)id<ZYLoginViewDelegate> delegate;


/**
 获取用户名
 @return 用户名
 */
-(NSString *)getUsername;


/**
 获取密码
 @return 密码
 */
-(NSString *)getPassword;

-(void)setupTitle;
@end

